<?php
defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
define('APPLICATION_PATH', dirname(__FILE__).'/application');
define('LIBRARY_PATH', dirname(__FILE__).'/library');
define('FORMS_PATH', APPLICATION_PATH.'/forms');
set_include_path(implode(PATH_SEPARATOR,array(APPLICATION_PATH,LIBRARY_PATH,FORMS_PATH)));

require_once 'Zend/Application.php';
$application = new Zend_Application(
	APPLICATION_ENV,
	APPLICATION_PATH . '/configs/application.ini'
);
$application->bootstrap()->run();